/**
 * 
 */
package com.nari.basic.utils.logmgr;

import org.apache.struts2.ServletActionContext;

/**
 * 系统日志管理工具
 * @author Xiaopeng
 * @date 2013-7-22
 */
public class SysLogMgrUtil {
	public static final Integer logType_user_role_commonUser = 0;
	public static final Integer logType_user_role_manager = 1;
	
	/**
	 * 获取系统登录用户IP
	 * @return
	 */
	public static String getLoginIP(){
		return ServletActionContext.getRequest().getRemoteAddr();
	}
	
}
